package com.demo;

public class Student {
    private String sname = "Alice";
    private int age = 20;

    @Override
    public String toString() {
        return "Student{sname='" + sname + "', age=" + age + '}';
    }
}